package com.ccb.sc.common.modules.shopkeeper.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ccb.sc.common.modules.shopkeeper.entity.ShopkeeperGoodsSpecs;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 产品规格 Mapper 接口
 * </p>
 *
 * @author ken
 * @since 2020-09-19
 */
public interface ShopkeeperGoodsSpecsMapper extends BaseMapper<ShopkeeperGoodsSpecs> {

    /**
     * 手动查询 mybatis-plus查询过滤了逻辑删除
     * @param goodsSpecsId 商品规格id
     * @return GoodsSpecs
     */
    @Select("select * from tb_shopkeeper_goods_specs where id=#{goodsSpecsId}")
    ShopkeeperGoodsSpecs findById(Long goodsSpecsId);

}
